* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Ultimate page styles */
.ultimate-container {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff, #5f27cd);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    color: white;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hidden {
    display: none !important;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    font-weight: 600;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.ultimate-title {
    background: linear-gradient(45deg, #fff, #f1f2f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ultimate-subtitle {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.ultimate-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.ultimate-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ultimate-textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.ultimate-output-text {
    background: rgba(0, 0, 0, 0.2);
}

.ultimate-copy {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.ultimate-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ultimate-status {
    color: #fff;
    font-weight: 600;
}

.warning-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.warning-box h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.ultimate-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.char-example {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-family: monospace;
}

h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.input-section, .output-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #555;
    font-weight: 600;
}

textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#converted-text {
    background: #f8f9fa;
    cursor: pointer;
}

.convert-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.convert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.convert-button:active {
    transform: translateY(0);
}

.output-container {
    position: relative;
}

.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.copy-status {
    margin-top: 5px;
    font-size: 14px;
    color: #4caf50;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-status.show {
    opacity: 1;
}

.info-section {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-section h3 {
    color: #333;
    margin-bottom: 10px;
}

.info-section p {
    color: #666;
    margin-bottom: 10px;
}

.info-section ul {
    margin-left: 20px;
    color: #555;
}

.info-section li {
    margin-bottom: 5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.warning-modal {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.warning-icon {
    font-size: 3em;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.warning-modal h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.warning-modal p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1em;
}

.warning-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.warning-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept {
    background: white;
    color: #ff6b6b;
}

.accept:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.decline:hover {
    background: white;
    color: #ff6b6b;
    transform: scale(1.05);
}

/* NEW: Scare page styles */
.scare-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.scare-content {
    text-align: center;
}

.glowing-eyes {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.eye {
    width: 100px;
    height: 100px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
    }
    to {
        box-shadow: 0 0 30px #ffffff, 0 0 60px #ffffff;
    }
}

.scare-okay {
    margin-top: 3rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.scare-okay:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #fff;
}

.quantum-button {
    background: linear-gradient(135deg, #2d3436, #636e72, #0984e3, #6c5ce7);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    margin-top: 15px;
}

.quantum-container {
    background: linear-gradient(135deg, #2d3436, #636e72, #0984e3, #6c5ce7, #fd79a8);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    color: white;
}

.quantum-title {
    background: linear-gradient(45deg, #fff, #fd79a8, #0984e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    animation: quantumPulse 1.5s ease-in-out infinite;
}

@keyframes quantumPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.02) rotate(1deg); }
    75% { transform: scale(1.02) rotate(-1deg); }
}

.quantum-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 30px;
}

.quantum-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.quantum-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.quantum-textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.quantum-output-text {
    background: rgba(0, 0, 0, 0.3);
}

.quantum-copy {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.quantum-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

.quantum-status {
    color: #fff;
    font-weight: 600;
}

.quantum-warning-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.quantum-warning-box h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.quantum-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.premium-button {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6347, #DC143C);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    margin-top: 15px;
}

.premium-container {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6347, #DC143C, #8B008B);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    color: white;
}

.premium-title {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    animation: premiumPulse 1.5s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.03) rotate(1deg); }
    75% { transform: scale(1.03) rotate(-1deg); }
}

.premium-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 30px;
}

.premium-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
}

.premium-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.premium-textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.premium-output-text {
    background: rgba(0, 0, 0, 0.3);
}

.premium-copy {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.premium-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

.premium-status {
    color: #fff;
    font-weight: 600;
}

.premium-warning-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.premium-warning-box h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.premium-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.circle-button {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    margin-top: 15px;
}

.circle-container {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4, #FECA57);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite;
    color: white;
}

.circle-title {
    background: linear-gradient(45deg, #fff, #FECA57, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    animation: circlePulse 1.5s ease-in-out infinite;
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.04) rotate(1deg); }
    75% { transform: scale(1.04) rotate(-1deg); }
}

.circle-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 30px;
}

.circle-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    font-size: 1.2em;
}

.circle-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.circle-textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.circle-output-text {
    background: rgba(0, 0, 0, 0.3);
    font-size: 1.2em;
}

.circle-copy {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.circle-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

.circle-status {
    color: #fff;
    font-weight: 600;
}

.circle-warning-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.circle-warning-box h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.circle-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2em;
    }
}